home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
lan
/
ssl15.zip
/
SAMPLES.ZIP
/
COLORS.SSL
< prev
next >
Wrap
Text File
|
1995-12-28
|
2KB
|
69 lines
################################################
# This file contains sample uses of functions #
# which change the colors on the screen #
# #
# MASTERBACK #
# MASTERFORE #
# MENUITEMBACK #
# MENUITEMFORE #
# WINBACK #
# WINFORE #
################################################
EQU 1 "WINBACK and WINFORE are used to change the colors of any windows"
EQU 2 "displayed on the screen using the MENU, OUTPUTWINDOW or INPUTWINDOW"
EQU 3 "functions. MENUITEMBACK and MENUITEMFORE are used to change the"
EQU 4 "colors of highlight text inside a window when using the MENU and"
EQU 5 "INPUTWINDOW functions."
EQU 6 ""
EQU 7 "Press any key to continue?"
OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
EQU 1 "The following MENU will have a light gray background and a black"
EQU 2 "foreground which were set by WINBACK and WINFORE!"
EQU 3 " "
EQU 4 "The highlighted menu item will have a black background and a blue"
EQU 5 "foreground which were set by MENUITEMBACK and MENUITEMFORE!"
EQU 6 ""
EQU 7 "Press any key to continue?"
OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
WINBACK lightgray
WINFORE black
MENUITEMBACK black
MENUITEMFORE blue
MENU choice " My Menu " Menu1 Menu2 Menu3
############################################################################
EQU 1 "When you use the WINBACK and WINFORE functions it will only use those"
EQU 2 "settings for future windows. If you want the PROGRESS and ERROR"
EQU 3 "windows to use these colors you must use the REFRESH function after"
EQU 4 "you set the WINBACK and WINFORE colors!"
EQU 5 " "
EQU 6 "Press any key and the PROGRESS and ERROR windows will change to"
EQU 7 "the new colors!"
OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@ @6@ @7@
REFRESH
############################################################################
EQU 1 "If you desire to change the color of the desktop you must use"
EQU 2 "the MASTERBACK and MASTERFORE functions!"
EQU 3 " "
EQU 4 "Press any key and the desktop colors will change to a GREEN"
EQU 5 "background and a MAGENTA foreground!"
OUTPUTWINDOW "" @1@ @2@ @3@ @4@ @5@
MASTERBACK green
MASTERFORE magenta
OUTPUTWINDOW "" "Press any key to EXIT!"